﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GFluentCode.Entity
{
    /// <summary>
    /// 实体类对应表名
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    public class GFluentTable:Attribute
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        private GFluentTable() { }

        public GFluentTable(string tableName)
        {
            TableName = tableName;
        }
    }
}
